
// 栅格布局 容器不能给宽和高
// 响应式布局，或者写页面时，高度和宽度尽量不要给
// 直接用内容把容器撑开

.banner{
  background-color: #111;
  text-align: center;
  padding-top: 1px;

  // 是CSS的一个属性，它可以让盒子模型的计算方式变为
  // 总宽度 = 内容宽度 + padding + border。
  // 这样就可以使盒子的大小与设定的大小保持一致
  box-sizing: border-box;
  padding-bottom: 89px;
  h1{
    font-size: 34px;
    // 将文本转换成大写形式
    text-transform: uppercase;
    color: #999;
    margin-top: 200px;
    span{
      font-weight: bold;
      color: #fcac45;
    }
  }
  small{
    font-size: 20px;
    color: #999;
    span{
        font-family: OSBold;
        color: #c3c3c3;
    }
  }
  .more{
      margin-top: 280px;
  }
}

.about{
  padding-top: 103px;
  small{
    font-size: 20px;
    color: #636363;
  }
  .title{
    font-size: 34px;
    color: #222;
    text-transform: uppercase;
    
    span{
      font-weight: bold;
    }

    // some下面一条黄线
    // &表示当前元素,即（title） 
    // & = > title
    // 使用after必须要添加content:''; 内容为空
    &::after{
          content: '';
          width: 105px;
          border-bottom: 4px solid #fcac45;
          display: block;
          // margin-bottom: 31px;
    }
  }
  .content{
    white-space: pre-line;
    font-size: 18px;
    color: #6c6c6c;
    }
  .box{
    // margin-top: 50px;
    margin-top: 30px;
    .item{
      display: flex;
      align-items: center;
      margin-bottom: 10px;
      // 小圆圈
      &::before{
        content: '';
        width: 14px;
        height: 14px;
        display: block;
        border:2px solid #5a5a5a;
        border-radius: 50%;
        // 颜色渐变 从内到外
        background: radial-gradient(black 30%,white 30%);
        // 小圆圈和文字的间距
        margin-right: 10px;
      }
      p{
        font-family: OSLtalic;
        span{
          font-family: OSBold;
        }
      }
    }
  }
  .about-btn{
    width: 194px;
    height: 46px;
    border: 1px solid #7f7f7f;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 52px;
      img{
      width: 12px;
      margin-right: 5px;
    }
  }
  
}
.team{
  // 如果铺满屏幕 不用给高度
  background-color: #070707;
  padding-top: 100px;
  h1{
    color: #fff;
    font-family: OSLight;
    font-size: 32px;
    text-align: center;
    letter-spacing: 8px;
    text-transform: uppercase;
    span{
      font-family: OSBold;
    }
  }
  .line{
    width: 90px;
    height: 5px;
    background-color: #fcac45;
    margin: 0 auto;
    margin-bottom: 10px;
  }
  .line-2{
    width: 60px;
    height: 5px;
    background-color: #fcac45;
    margin: 0 auto;
    margin-bottom: 90px;
  }
  .team-swiper{
    .item{
      text-align: center;
      img{
        // 只需要设置宽度，高度会自适应调整！！！
        width: 129px;
        border-radius: 50%;
      }
      .nickname{
        color: #fff;
        font-size: 15px;
        font-family: OSBold;
        margin-top: 23px;
      }
      .small{
        color: #fff;
        font-size: 13px;
        font-family: OSLight;
        margin-top: 11px;
        margin-bottom: 35px;
      }
      .content{
        color: #fff;
        width: 91%;
      }
    }
    .swiper-pagination{
      position: static;
      margin-top: 72px;
      margin-bottom: 80px;
      .swiper-pagination-bullet{
        background:#fff;
        border-radius: unset;
        opacity: unset;
    }
    .swiper-pagination-bullet-active{
      background: #fcac45;
    }
    }
  }
  
}

.services{
  padding-top: 100px;
  text-align: center;
  h1{
    color: #222222;
    font-size: 31px;
    text-transform: uppercase;
    font-family: OSLight;
    letter-spacing: 5px;
    span{
      font-family: OSBold;
    }
  }
  .line{
    width: 90px;
    height: 5px;
    background-color: #fcac45;
    margin: 0 auto;
    margin-bottom: 10px;
  }
  .line-2{
    width: 60px;
    height: 5px;
    background-color: #fcac45;
    margin: 0 auto;
    margin-bottom: 41px;
  }
  small{
    font-size: 11px;
    color: #6c6c6c;
    width: 75%;
    padding-bottom: 130px;
    // 因small标签的作用 要设置成行内块
    display: inline-block;
  }
  .s-team{
    text-align: center;
    img{
      padding-bottom: 30px;
    }
    .s-classify{
      text-transform: uppercase;
      font-size: 18px;
      font-family: OSBold;
      color: #222;
    }
    .s-intro{
      font-size: 11px;
      color: #676767;
      padding-top: 22px;
      // 宽度设为80% 但是盒子宽度未占满，
      // 直接用margin 来居中即可
      width: 80%;
      margin: 0 auto;
      padding-bottom: 100px;
    }
  }
}

.clients{
  background-color: #070707;
  padding-top: 100px;
  text-align: center;
  h1{
    color: #fff;
    font-family: OSLight;
    font-size: 32px;
    text-align: center;
    letter-spacing: 5px;
    text-transform: uppercase;
    span{
      font-family: OSBold;
    }
  }
  .line{
    width: 90px;
    height: 5px;
    background-color: #fcac45;
    margin: 0 auto;
    margin-bottom: 10px;
  }
  .line-2{
    width: 60px;
    height: 5px;
    background-color: #fcac45;
    margin: 0 auto;
    margin-bottom: 100px;
  }
  img{
    margin: 0 auto;
  }
  .swiper-pagination{
    position: static;
    margin-top: 72px;
    margin-bottom: 80px;
    .swiper-pagination-bullet{
      background:#fff;
      border-radius: unset;
      opacity: unset;
  }
  .swiper-pagination-bullet-active{
    background: #fcac45;
  }
  }
}
.work{
  padding-top: 100px;
  text-align: center;
  h1{
    color: #222222;
    font-size: 31px;
    text-transform: uppercase;
    font-family: OSLight;
    letter-spacing: 5px;
    span{
      font-family: OSBold;
    }
  }
  .line{
    width: 90px;
    height: 5px;
    background-color: #fcac45;
    margin: 0 auto;
    margin-bottom: 10px;
  }
  .line-2{
    width: 60px;
    height: 5px;
    background-color: #fcac45;
    margin: 0 auto;
    margin-bottom: 41px;
  }
  & > .content{
    color: #767676;
    // white-space: pre;
    text-align: center;
    font-family: OSLight;
    font-size: 16px;
  }
  // .filter{
  //   text-transform: uppercase;
  //   text-align: left;
  //   font-family: OSBold;
  //   font-size: 13px;
  //   color: #222;
  //   padding-bottom: 50px;
  // }
  // .all{
  //   text-align: right;
  //   color: #6c6c6c;
  //   font-size: 13px;
  //   padding-bottom: 50px;
    
  //   span{
  //     font-family: OSBold;
  //     font-size: 14px;
  //   }
  // }
  .menu{
    display: flex;
    margin-top: 115px;
    justify-content: space-between;
    margin-bottom: 50px;
    .title{
        text-transform: uppercase;
        font-size: 14px;
    }
    .menu-nav a{
        padding: 0 15px;
        text-transform: uppercase;
        color: #6c6c6c;
        border-right: 1px solid #6c6c6c;
        &:last-child{
            border-right: none;
        }

        &:hover{
            color: #000;
        }
    }

    .mobile-nav{
        display: none;
    }
  }
  .img-zhe{
    position: relative;
    padding-bottom: 30px;
    
      .img-box{
        
      img{
       
      }
  }
      .zhe{
          opacity: 0;
          position: absolute;
          z-index: 99;
          transition: 1s;
          top: 0;
      }
  }
  .img-zhe:hover .zhe{
        opacity: 1;
  }
  .list{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    // margin-bottom: 101px;
  }
}
.testimonials{
  background-color: #070707;
  padding-top: 100px;
  margin-top: 70px;
  text-align: center;
  h1{
    color: #fff;
    
    font-family: OSBold;
    font-size: 32px;
    text-align: center;
    letter-spacing: 5px;
    text-transform: uppercase;
    span{
      font-family: OSLight;
    }
  }
  .line{
    width: 90px;
    height: 5px;
    background-color: #fcac45;
    margin: 0 auto;
    margin-bottom: 10px;
  }
  .line-2{
    width: 60px;
    height: 5px;
    background-color: #fcac45;
    margin: 0 auto;
    margin-bottom: 100px;
  }
  small{
    font-size: 13px;
    color: #e8e8e8;
    width: 75%;
    font-family: OSBold;
    padding-bottom: 50px;
    // 因small标签的作用 要设置成行内块
    display: inline-block;
    white-space: pre-line;
    
  }
  .content{
    color: #b2b2b2;
    font-size: 13px;
    font-family: OSBold;

    span{
      color: #b2b2b2;
      font-size: 13px;
      font-family: OSLight;
    }
  }
  .swiper-pagination{
    position: static;
    margin-top: 66px;
    margin-bottom: 100px;
    .swiper-pagination-bullet{
      background:#fff;
      border-radius: unset;
      opacity: unset;
  }
  .swiper-pagination-bullet-active{
    background: #fcac45;
  }
  }
}

.contact{
  padding-top: 101px;
  h1{
      color: #000;
      text-transform: uppercase;
      text-align: center;
      font-family: OSLight;
      font-size: 32px;
      letter-spacing: 8px;
      span{
          font-family: OSBold;
      }
  }
  .line{
      width: 90px;
      height: 5px;
      background-color: #fcac45;
      margin: 0 auto;
      margin-bottom: 10px;
  }
  .line-2{
      width: 60px;
      height: 5px;
      background-color: #fcac45;
      margin: 0 auto;
      margin-bottom: 50px;
  }

  & > .content{
      width: 60%;
      margin: 0 auto;
      white-space: pre-line;
      text-align: center;
  }

  .box{
      width: 60%;
      margin: 0 auto;
      form{
          display: flex;
          justify-content: space-between;
          flex-wrap: wrap;
          margin-top: 100px;
          .item{
              width: 45%;
          }

          .textarea{
              width: 100%;
              height: 168px;
              margin-bottom: 40px;
              & > textarea.form-control{
                  height: 100%;
              }
          }
          label{
              span{
                  color: red;
              }
          }
          .form-group:last-child{
              margin-left: auto;
          }
          button{
            width: 165px;
          }
      }
  }
}
.footer{
  
  background-color: #222;
  .right{
    padding-top: 40px;
    text-align: left;
    padding-bottom: 40px;
    font-size: 9px;
    color: #979797;
    
  }
  .foot-icon{
    padding-top: 30px;
    text-align: right;
    padding-bottom: 30px;
  }
}
// 1920 2k 2.5k 在响应式或者写页面时尽量不要设置高度

// 假设 设计稿 1500px  在最大容器设置最大的宽度

// 媒体查询
@media screen and(max-width:1440px) {
  
}


@media screen and (max-width: 1024px) {
  .about .title::before{
      margin-bottom: 0;
    }
  .about .box{
      margin-top: 18px;
      
    }
  .about .about-btn{
      margin-top: 21px;
    }
    .team .team-swiper .item{
      margin-bottom: 15px;
    }
    .team .team-swiper .team-pagination{
        margin-top: 57px;
    }
}

@media screen and (max-width:768px) {
  .work .list{
    justify-content: space-around;
}
}
@media screen and (max-width:767px) {
  .banner h1,.banner .more{
      margin-top: 80px;
  }
  .about{
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .about .content{
      white-space: unset;
      overflow-y: scroll;
      // 给一个高度就可以显示出 超出y隐藏
      height: 50px;
  }
  .about .img{
    display: none;
  }

  .about .title{
      font-size: 26px;
  }
  .about .title::after{
      width: 81px;
      margin-bottom: 15px;
  }

  .about .about-btn{
      margin: 0 auto;
  }
  .team .team-swiper .item{
    display: flex;
    text-align: left;
    margin-left: 1px;
    img{
      border-radius: unset;
      margin-right: 10px;
    }
    .nickname{
      margin-top: 0;

    }
    .small{
      margin: 5px 0 8px;
    }
  }
  .team .team-swiper .team-pagination{
    margin: 8px 0 20px;
  }
  .work{
    padding-top: 30px;
    h1{
      letter-spacing: unset;
      font-size: 27px;
    }
    & > .content{
      overflow-y: scroll;
      height: 80px;
    }
    .menu{
      margin-top: 45px;
      .menu-nav{
        display: none;
      }
      .mobile-nav{
        display: block;
      }
    } 
  }
  .contact{

    h1{
        letter-spacing: normal;
        font-size: 27px;
    }

    .content{
        white-space: unset;
        height: 80px;
        overflow: scroll;
    }

    .box{
        width: 80%;
        margin-top: 30px;
        form .item{
            width: 100%;
        }

        .form-group:last-child{
            margin: 0 auto;
        }
    }
  }
  .contact .box form button {
    margin: 50px;
  }
  .footer .right{
    text-align: center;
    padding-bottom: 0px;
  }
  .footer .foot-icon{
    text-align: center;
  }
}

@media screen and (max-width:375px) {
  .work{
    padding-top: 30px;
    h1{
        letter-spacing: unset;
        font-size: 27px;
    }

    & > .content{
        overflow-y: scroll;
        height: 80px;
    }

    .menu{
        margin-top: 45px;
        .menu-nav{
            display: none;
        }
        .mobile-nav{
            display: block;
        }
    }

    // .list{
    //     justify-content: center;
    // }
  }
  .contact .box form button {
    margin: 50px;
  }
  .footer .right{
    text-align: center;
    padding-bottom: 0px;
  }
  .footer .foot-icon{
    text-align: center;
  }
}
